Remove execute permission from xend-debug.log
authorKeir Fraser <keir@xensource.com>
Tue, 24 Apr 2007 20:48:09 +0000 (21:48 +0100)
committerKeir Fraser <keir@xensource.com>
Tue, 24 Apr 2007 20:48:09 +0000 (21:48 +0100)
commit9718c31fb7c61f20b38dd988fa5002ddf72149ad
tree8a83a3dbe1bc324d64c17bc4eeb3e8cd616aad08
parent8ff144a439e5f452e69f67de1febf1c94d61b1a0
Remove execute permission from xend-debug.log

The file /var/log/xen/xend-debug.log is currently being created with
executable permission bits set. This is because the os.open() method
defaults to using a mode of 0777 if no third parameter is provided.
The attached patch changes the mode to 0600 to ensure that the file
permissions come out as -rw-------  instead of -rwxr-xr-x

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tools/python/xen/xend/server/SrvDaemon.py